﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly="XWord.Fundamental.Domain" namespace="XWord.Fundamental.Domain">
  <class name ="EtymaLibrary" dynamic-update="true">
    <id name="Id" column="Id">
      <generator class="guid.comb"/>
    </id>
    <property name="Name"/>
    <property name="Comment"/>
    <property name="WordIndex"/>

    <!--<bag name="EtymaWordLibrarys" table="EtymaWord">
      <key column="EtymaId"/>
      <many-to-many class="EtymaWordLibrary" column="WordId"/>
    </bag>-->
  </class>

  <class name ="EtymaWordLibrary" dynamic-update="true">
    <id name="Id" column="Id">
      <generator class="guid.comb"/>
    </id>
    <property name="Name"/>
    <property name="WordIndex"/>
  </class>
</hibernate-mapping>